<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/css/common.css" />
		<link rel="stylesheet" type="text/css" href="<%=path%>/css/tag.css" />
		<script type="text/javascript">
		function editBasicInfo()
		{
		   formSubmit('basicForm', 'initBasicInfo', 'initEditBasicInfo.action');
		}
		</script>
	</head>

	<body>
		<input type="hidden" name="chkProMedID" id="chkProMedID" value="${castDetail.proMedID}"/>
		<form id="basicForm" method="post">
		  <input type="hidden" name="projectMedium.proMedID" id="projectMedium.proMedID" value="${castDetail.proMedID}"/>
		</form>
		<table class="table_add" style="width:100%;">
			<tr>
				<th style="width:150px;">项目名称：</th>
				<td style="width:225px;">
					${castDetail.projectName}
				</td>
				<th style="width:189px;">排期时间：</th>
				<td style="width: 465px;">
					${castDetail.arrangeTime }
				</td>
				<td>
					<input id="basicSubmitButton" type="button" class="btn-title" value="编辑" onclick="editBasicInfo();"/>
				</td>
			</tr>
			<tr>
				<th style="width:150px;">投放媒体：</th>
				<td style="width:225px;">
					${castDetail.mediaName }
				</td>
				<th style="width:189px;">投放刊例：</th>
				<td>
					${castDetail.mediumName }
				</td>
			</tr>
			<tr>
				<th style="width:150px;">定向折扣：</th>
				<td style="width:225px;">
					${castDetail.mediumOrientDiscount }
				</td>
				<th style="width:189px;">资源占用状态：</th>
				<td>
					${castDetail.mediumStatus}
				</td>
			</tr>
		</table>
	</body>
</html>
